package com.example.code.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/11/16.
 */
@Data
public class GeneralResult implements Serializable {

    private int resultCode;
    private String detailDescription;

    public GeneralResult() {
    }

    public GeneralResult(int resultCode) {
        this.resultCode = resultCode;
        this.detailDescription = "";
    }

    public GeneralResult(int resultCode, String detailDescription) {
        this.resultCode = resultCode;
        this.detailDescription = detailDescription;
    }
}
